.announcement-container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* 头部样式 */
.announcement-header {
  background: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.back-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.back-btn:hover {
  background-color: #f0f0f0;
}

.header-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.action-icon {
  font-size: 18px;
  color: #999;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.action-icon:hover {
  background-color: #f0f0f0;
}

/* 占位区域 */
.placeholder-area {
  height: 120px;
  background: linear-gradient(135deg, #e8f3ff, #d4e7ff);
  margin: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
}

/* 公告列表 */
.announcement-list {
  padding: 0 16px;
}

.announcement-item {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.announcement-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.announcement-header-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.pinned-tag {
  background: #1677ff;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 2px;
}

.announcement-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  flex: 1;
}

.announcement-content {
  margin: 8px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announcement-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: #999;
}

.announcement-source {
  color: #1677ff;
  font-weight: 500;
}

.announcement-time {
  color: #999;
}

.announcement-reads {
  color: #999;
}

/* 底部加载提示 */
.load-more {
  text-align: center;
  padding: 20px;
  color: #999;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .announcement-header {
    padding: 12px 16px;
  }
  
  .header-title {
    font-size: 16px;
  }
  
  .placeholder-area {
    height: 100px;
    margin: 12px;
  }
  
  .announcement-list {
    padding: 0 12px;
  }
  
  .announcement-item {
    padding: 12px;
    margin-bottom: 8px;
  }
  
  .announcement-title {
    font-size: 15px;
  }
  
  .announcement-content {
    font-size: 13px;
  }
  
  .announcement-meta {
    gap: 12px;
    font-size: 11px;
  }
}

